package com.wm.orderService.client;

import com.wm.commonutils.result.ResultCode;
import com.wm.commonutils.vo.MemberOrderVo;
import com.wm.servicebase.exceptionhandle.GuliException;
import org.springframework.stereotype.Component;

/**
 * @Author: sshdg
 * @Date: 2020/10/13 10:51
 */
@Component
public class MemberClientImpl implements MemberClient {
    /**
     * 根据会员id  查询会员信息
     *
     * @param id 会员id
     * @return MemberOrderVo 会员信息
     */
    @Override
    public MemberOrderVo getMemberInfoOrderById(String id) {
        throw GuliException.from(ResultCode.REMOTE_CALL_MEMBER);
    }
}
